﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PhiStore.Communication;
using PhiStore.ObjectManaging;

namespace PhiStore.Actions.InternalActions
{
    class AddRemoteObject : PhiInternalPackage
    {
        public PeerContainer p;
        public SimpleObjectEntry obj;
        
        public AddRemoteObject(PeerContainer pc, SimpleObjectEntry soe)
        {
            this.p = pc;
            this.obj = soe;
        }
        public override string ToString()
        {
            return base.ToString() + ":" + obj.key;
        }
    }
}
